ExamPlay Light Logo
وارد شوید

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 11 - No. 16)

When should a WHILE...DO...ENDWHILE loop be used?
When you know the number of iterations beforehand.
When the number of iterations is not known and the action must be repeated until a certain condition is met.
Whenever a series of steps need to be repeated.
When an action has to be done at least once.

توضیح

A WHILE loop is used when the number of iterations is unknown and depends on a condition that might change during execution.

نظرات (0)

ورود به نظر
تبلیغات
BrainBehindX Inc Logo
©2026; پشتیبانی شده توسط BrainBehindX Inc